package ModelImplementation

import "time"

type TimeCard struct {
	itsDate time.Time
	itsHours float64
}

func(t TimeCard) TimeCard(date time.Time,hours float64) TimeCard{
	t.itsDate = date
	t.itsHours = hours
	return t
}

func(t TimeCard) GetDate() time.Time{
	return t.itsDate
}

func(t TimeCard) GetHours() float64{
	return t.GetHours()
}